﻿using Fuse8.ContentManagementFramework.Domain.Commands.CommandParameters;
using Fuse8.DomainFramework.Domain;

namespace Fuse8.ContentManagementFramework.Domain.Commands
{
    public class CmsPageSelectAllByPageKeyCommand : BaseEntityParameterCommand<CmsPage, CmsPageSelectAllByPageKeyCommandParameter>
    {
        public override string CacheKey
        {
            get { return string.Format("PageKey_{0}", CommandParameter.PageKey); }
        }

        public override string CommandName
        {
            get { return "CmsPageSelectAllByPageKeyCommand"; }
        }
    }
}